/*横幅:banner*/


.banner{
    height: 500px;
    background-color: #f5f5f5;
}

.banner .wrapper{
    position: relative;
    height: 500px;
    background-color: pink;
}

.banner .aside{
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 500px;
    background-color: rgba(0,0,0,0.5);
}

.banner .aside li{
    height: 50px;
    line-height: 50px;


}

.banner .aside a{ 
    position: relative;
    padding-left: 36px;
    padding-right: 19px;
    display: block;
    height: 50px;
    color: #f5f5f5;
}

.banner .aside a span{
    margin-left: 15px;
    font-size: 14px;
}

.banner .aside a:hover{
   background-color: #27ba9b;
}

/*a的里面最后的位置添加箭头*/
.banner .aside  a::after{
    position: absolute;
    right: 19px;
    top: 19px;
    content: '';
    width: 6px;
    height: 11px;
    /* background-color: green; */
    background-image: url(../images/sprites.png);
    background-position: -80px -110px;
}

/*箭头*/
.next,
.prev{
    position: absolute;
    top: 228px;
    width: 45px;
    height: 45px;
    background-color:rgba(0,0,0,.2);
    background-image: url(../images/sprites.png);
    border-radius: 50%;
}
/*背景图位置负责2件事:1.改变箭头在盒子里面的位置;2.改变精灵图的位置*/
/*导致在精灵图中测量的尺寸不准*/
/*解决方案有2种：
1.书写背景图位置属性，借助谷歌浏览器的调试工具调试具体的位置数值
2.书写标签的时候，a负责盒子，里面再添加一个span负责箭头

*/
.prev{
    left: 260px;
    background-position: 14px -60px;

}
.next{
    right: 10px;
    background-position: -23px  -60px;
}

/**圆点*/
.banner ol{
    position: absolute;
    left: 680px;
    bottom: 30px;
    /* width: 200px; */
    height: 10px;
    /* background-color: pink; */
}

.banner ol li{
    float: left;
    margin-right: 24px;
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
}

.banner ol .current{
    background-color: #fff;
}

/*鲜新好物*/
.goods .hd{
    height: 114px;
    /* background-color: pink; */
line-height: 114px;
}

.goods .hd h2{
    float: left;
    font-size: 29px;
    font-weight: 400;
    height: 114px;
}

.goods .hd h2 span{
    margin-left: 34px;
    font-size: 16px;
    color: #999;
}

.goods .hd a{
    float: right;
    color: #999;
}

.goods .hd a::after{
    content: '';
    display: inline-block;
    margin-left: 13px;
    width: 7px;
    height: 13px;
    /* background-color: green; */
    background-image: url(../images/sprites.png);
    background-position: 0 -110px;
    vertical-align: middle;
}

.goods .bd li{
    position: relative;
    float: left;
    margin-right: 8px;
    width: 304px;
    height: 405px;
    background-color: #f0f9f4;
    text-align: center;
}
.goods .bd li:last-child{
    margin-right: 0;
}

/*清除浮动*/
.clearfix::before,
.clearfix::after{  /*第4种清除浮动*/
  content: '';
  display: table; /*转换为表格模式*/
}
/*这个才是正真的清除浮动*/
.clearfix::after{
  clear: both;
}

.goods .bd li img{
   width: 304px;
}

.goods .bd li h3{
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 400;
}

.goods .bd li div{
   color: red;
   font-size: 23px;
}

.goods .bd li div span{
    font-size: 23px;
 }

 .goods .bd li b{
    position: absolute;
    left: 17px;
    top: 18px;
    width: 28px;
    height: 51px;
    border: 2px solid #27ba9b;
    border-radius: 2px;
    font-size: 18px;
    color: #27ba9b;
    font-weight: 400;
    line-height: 24px;
 }